﻿using System.Windows.Forms;
using DevExpress.XtraEditors;
using VCS.Entities;

namespace VCS.Windows.Forms.Form.Main
{
    public partial class FormPatientMaster : XtraForm
    {
        public FormPatient FormPatientEdit;
        public FormPatientMaster()
        {
            InitializeComponent();
        }

        private void grvParent_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            //FormPatientEdit.objpatient = (Patient)gridView1.GetRow(gridView1.FocusedRowHandle);
            //FormPatientEdit.LoadUpdate();
            //FormPatientEdit.mIsInsert = false;
            //FormPatientEdit.btbUpdate.Text = "Update";
            //FormPatientEdit.btbUpdate.Image = Properties.Resources.update2;
            //FormPatientEdit.btbDelete.Visible = true;
            //FormPatientEdit.Show();

            //Dispose();
        }
    }
}